
CFLAGS = -g -Wall -Wextra $(OFLAGS)
OFLAGS = -DDEBUG
PACKCC=./packcc


all : objcg

# option --debug to packcc

objcg: objcg.peg
	$(PACKCC) objcg.peg
	$(CC) $(CFLAGS) objcg.c -o objcg
	cat t.txt |./objcg >OO

clean :
	rm -f *~ *.o
	rm -v -f objcg
	rm -v -f objcg.c
	rm -v -f objcg.h

